package socketVersion;

import java.io.Serializable;
import java.util.LinkedList;

public class Reply implements Serializable{
	
	private static final long serialVersionUID = -6434128746837182170L;
	public static final int STATUS_IO_ERROR = 100;
	public static final int STATUS_SUCCESS = 200;
	public static final int STATUS_BAD_REQUEST = 300;
	public static final int STATUS_METHOD_NOT_FOUND = 400;
	public static final int STATUS_SERVER_ERROR = 500;
	public static final int STATUS_SERVER_OVERLOAD = 600;
	
	private int status;
	private LinkedList<Object> output;
	
	public Reply(int status,LinkedList<Object> output){
		this.status = status;
		this.output = output;
	}
	
	public int getStatus(){
		return status;
	}
	
	public LinkedList<Object> getOutput(){
		return output;
	}
}
